package com.google.project.client.Service;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.google.project.shared.ProjectStaffDTO;
import com.google.project.shared.UsersDTO;

@RemoteServiceRelativePath("users")
public interface UsersService extends RemoteService {
	  UsersDTO addUser(UsersDTO user);
	  List<UsersDTO> getUserList();
	  List<UsersDTO> getUserListByCurrentPJId();
	  void deleteUser(String id);
	  void updateUser(UsersDTO userDTO);
	  UsersDTO getUserById(String userId);
	  List<UsersDTO> searchUserList();
	  List<UsersDTO> searchUserList(String fullName, String userCode, String specializeName);
	  List<UsersDTO> searchUserList(String userName,String currentProjID,String specID,int exp);
	  List<UsersDTO> searchUserList2(Long userGroup,String status,String userCode);
	  void deleteUserList(List<UsersDTO> list);
	  List<UsersDTO> getUserListExceptById(List<ProjectStaffDTO> projectStaffDTO);
	  List<UsersDTO> getUserListByStatus(String status);
	  List<UsersDTO> getInfoByUserCode(String userCode);
	  void updateAccount(UsersDTO userDTO);
}
